# -*- encoding: utf-8 -*-
##############################################################################
#
##############################################################################

from odoo import api, fields, models, _
from odoo.addons import decimal_precision as dp
from odoo.exceptions import UserError, ValidationError
from odoo.tools import float_round

class product_template(models.Model):
    _inherit = 'product.template'

    product_description=fields.Html(u"产品说明")
    product_attention=fields.Html(u"注意事项")

class product_attention(models.Model):
    _name = 'product.attention'

    name = fields.Text(u"条件名称")
    product_condition = fields.Text(u"内容")
    product_template_id=fields.Many2one('product.template',u"产品")

